/**
 */
package hu.bme.mit.inf.eclipse.v37zen.awesome.impl;

import hu.bme.mit.inf.eclipse.v37zen.awesome.AwesomePackage;
import hu.bme.mit.inf.eclipse.v37zen.awesome.Menu;
import hu.bme.mit.inf.eclipse.v37zen.awesome.Menuitem;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EClass;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Menu</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link hu.bme.mit.inf.eclipse.v37zen.awesome.impl.MenuImpl#getMenuitems <em>Menuitems</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class MenuImpl extends NamedObjectImpl implements Menu {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected MenuImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return AwesomePackage.Literals.MENU;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Menuitem> getMenuitems() {
		return (EList<Menuitem>)eGet(AwesomePackage.Literals.MENU__MENUITEMS, true);
	}

} //MenuImpl
